package com.macro.mall.mapper;

import com.macro.mall.model.UmsMemberLevelChangeHistory;
import com.macro.mall.model.UmsMemberLevelChangeHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UmsMemberLevelChangeHistoryMapper {
    long countByExample(UmsMemberLevelChangeHistoryExample example);

    int deleteByExample(UmsMemberLevelChangeHistoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsMemberLevelChangeHistory record);

    int insertSelective(UmsMemberLevelChangeHistory record);

    List<UmsMemberLevelChangeHistory> selectByExample(UmsMemberLevelChangeHistoryExample example);

    UmsMemberLevelChangeHistory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsMemberLevelChangeHistory record, @Param("example") UmsMemberLevelChangeHistoryExample example);

    int updateByExample(@Param("record") UmsMemberLevelChangeHistory record, @Param("example") UmsMemberLevelChangeHistoryExample example);

    int updateByPrimaryKeySelective(UmsMemberLevelChangeHistory record);

    int updateByPrimaryKey(UmsMemberLevelChangeHistory record);
}